package com.itheima.support;

//建造者、构建者模式
public class ResultBuilder {

    public static Result build(Object data){
        return new Result(data).setFlag(true);
    }

}
